package com.ax.controller;

import com.ax.entity.QueryVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/fun.do")
    @ResponseBody
    public String fun(QueryVo vo){
        for (int i =0;i<vo.getOrders().size();i++){
            System.out.println(vo.getOrders().get(i).getPids());
            System.out.println(vo.getOrders().get(i).getBuynums());
        }
        return "";
    }
}
